package uk.ac.tess.timemanagement;

import uk.ac.tess.timemanagement.todolist.ToDoMain;
import android.os.Bundle;
import android.app.Activity;
import android.content.Intent;
import android.graphics.Typeface;
import android.view.Menu;
import android.view.View;

public class MainActivity extends Activity {

	public static final String sDatabaseName = "TimeManagement.db";
	public static Typeface font;
	
    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.main_layout);
        
        // Done in the manifest file
        //ActionBar actionBar = this.getActionBar();
        //actionBar.hide();
        
        font = Typeface.createFromAsset(getAssets(), "gooddog.TTF");
    }

    @Override
    public boolean onCreateOptionsMenu(Menu menu) {
        getMenuInflater().inflate(R.menu.main_menu, menu);
        return true;
    }
    
    
    public void ToDoEventHandler(View v){
    	this.startActivity(new Intent(this, ToDoMain.class));
    }
}
